package cn.siat.gene.mapper;

import cn.siat.gene.domain.Feature;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FeatureMapper {
    int saveList(List<Feature> list);
    int removeBySequenceIdList(@Param("list") List<Long> list,@Param("isTemporary") Boolean isTemporary);
    int removeByIdList(@Param("sequenceId") Long sequenceId,@Param("idList")List<Long> idList);
    List<Feature> list(Feature feature);
    List<Feature> listBySequenceId(Long sequenceId);
    List<String> listSource(Long sequenceId);
    int update(Feature feature);
    int saveCloneList(List<Feature> list);
}
